package net.nyancofc.piconnow.data;

import java.util.List;

public class ReverseGeoCodingResult {
	public String status;
	public Result result;
	public String argument;
	public String toAddressString() {
		return result.prefecture.pname
			+ result.municipality.mname
			+ result.local.get(0).section;
	}

    public class Result {
    	public Prefecture prefecture;
    	public Municipality municipality;
    	public List<Local> local;
    }

    public class Prefecture {
		public String pcode;
		public String pname;
    }

	public class Municipality {
		public String mname;
		public String mcode;
	}

	public class Local {
		public String section;
		public String homenumber;
		public String distance;
		public String latitude;
		public String longitude;
	}


}
